package planit.communication;

import planit.model.Schedule;

public interface DataHandler {

	//public void addPerson( Person p);
	//public void removePerson( Person p);
	//public void changePerson( Person p);
	//public ArrayList<Person> getAllPersons();
	//public Person getPerson(Person p);

	//public void addGroup( Group g);
	//public void removeGroup( Group g);
	//public void changeGroup( Group g);
	//public ArrayList<Group> getAllGroups();
	//public Group getGroup(Group g);

	//public void addEvent( Event e);
	//public void removeEvent( Event e);
	//public void changeEvent( Event e);
	//public ArrayList<Event> getAllEvents();
	//public Event getEvent(Event e);

	public void commitAllData(Schedule data);
	public Schedule getAllData();

}
